package com.cloud.rou.common.executor;

/**
 * <p></p>
 *
 * @author GaoShuangWen
 * @since 2019-11-01 11:01
 */
public interface GenericListenableFutureListener<T> {

    /**
     * successful callback
     * @param result
     */
    void operationSuccess(T result) ;

    /**
     * failure callback
     * @param t
     */
    void operationFailure(Throwable t) ;
}
